/*
 * UltimateEvolutionRateResource.h
 *
 *  Created on: 2014. 2. 18.
 *      Author: mega
 */

#ifndef ULTIMATEEVOLUTIONRATERESOURCE_H_
#define ULTIMATEEVOLUTIONRATERESOURCE_H_

#include <map>

namespace ProjectZ { namespace NResource {

class UltimateEvolutionRateResource
{
public:
	struct Flyweight
	{
		int _QUALITY;
		int _BATTLEPET;
		int _FAIRY;
	};

public:
	UltimateEvolutionRateResource();
	virtual ~UltimateEvolutionRateResource();

	bool		LoadResource();
	Flyweight *	GetFly(int quality);

private:
	void	Clear();

public:
	typedef std::map<int, Flyweight *>		ULTIMATERATETREE;

private:
	ULTIMATERATETREE	clsFlyTree;
};

} /*NResource*/ } /*ProjectZ*/


#endif /* ULTIMATEEVOLUTIONRATERESOURCE_H_ */
